'use strict';
var React=require( 'react');
var reactDom=require( 'react-dom/server');
var HkfsRegister = require('../public/javascripts/containers/pc/HkfsRegister.jsx');
var ModelRender = require('./modelRender.jsx');

exports.RenderFunc = (renderCallBack)=> {
    if (renderCallBack) {
        var modelRender = new ModelRender();
        var main = reactDom.renderToString(
                <HkfsRegister/>
        );
        renderCallBack(modelRender.headerRender(), modelRender.loginAndRegisterBarRender(), modelRender.loginAndRegisteFooterRender(), main, '');
    }
};